﻿function validateLatLongAddress(latitude, longitude, address)
{
    return ((latitude != '' && latitude != null) && (longitude != '' && longitude != null)) || (address != '' && address != null);
}

function validateDate(date)
{
    var result = Date.parse(date);
    return result != null && !isNaN(result);
}

function validateNumber(number)
{
    return number != null && !isNaN(number);
}